import numpy as np

a = np.array([1,2,3])

b = np.array([4,5,6])

# print(a + 1)
# print(a - 1)
# print(a * 2)
# print(a / 2)
# print(a ** 2)
# print(a ** 0.5)
# print(a // 2)
# print(a >3)

# print(a + b)
# print(a - b)
# print(a * b)
# print(a / b)
# print(a ** b)
# print(a ** b)
# print(a // b)
# print(a > b)

# print(a[2])
# print(a[1:2])
# print(a[1:])

# d = a[1:]
# print(d)
# d[0] = 30
# print(a)
# e = a[2:].copy()
# e[0] = 1000
# print(a)

c = np.array([[1,2,3,4,5],[7,8,9,10,11],[12,13,14,15,16]])
print(c[1][2])
print(c[1,2])
print(c[0:2,2:4])
print(c[:,2:4])
print(c[:,1])






